extends UnitBase
class_name  HeroEntity

var hero_id:int
var hero_name:String
var level:int
var exp_max:int
var exp:int
# 忠诚
var devotion:int

#region 六维
# 武力
var base_wushu:int
var ext_wushu:int
var wushu:int:
	get:
		return base_wushu + ext_wushu
		
# 灵敏
var base_agility:int
var ext_agility:int
var agility:int:
	get:
		return base_agility + ext_agility
		
# 智力
var base_intelligence:int
var ext_intelligence:int
var intelligence:int:
	get:
		return base_intelligence + ext_intelligence
		
# 统率
var base_commandry:int
var ext_commandry:int
var commandry:int:
	get:
		return base_commandry + ext_commandry
		
# 魅力
var base_beauty:int
var ext_beauty:int
var beauty:int:
	get:
		return base_beauty + ext_beauty

# 德行
var base_morality:int
var ext_morality:int
var morality:int:
	get:
		return base_morality + ext_morality
		
#endregion

# 所能带领的兵力上限
var underling_max:int
# 当前兵力
var underling_value:int

var hero_avatar_texture:Texture2D
var hero_avatar:String
